package com.boang.controller;

import com.boang.po.Cla;
import com.boang.service.ClaService;
import com.boang.service.ClaServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/*
  @author: 13813
  @date: 2024/8/6 11:02
*/
@RestController
@RequestMapping("/cla")
public class ClaController {

    @Autowired
    private ClaService claService;
    @RequestMapping("/addCla")
    public int addCla(@RequestBody Cla cla) {
        return claService.addCla(cla);
    }
}
